package com.sinoglobal.dumping.api;

import android.content.Context;

import com.sinoglobal.dumping.bean.Dumpling_AdvertisingBean;
import com.sinoglobal.dumping.bean.Dumpling_BaseVo;
import com.sinoglobal.dumping.bean.Dumpling_CardVo;
import com.sinoglobal.dumping.bean.Dumpling_DumpingMakeOrderVo;
import com.sinoglobal.dumping.bean.Dumpling_DumplingNumberBean;
import com.sinoglobal.dumping.bean.Dumpling_DumplingPaySuccessVo;
import com.sinoglobal.dumping.bean.Dumpling_DumplingPayVo;
import com.sinoglobal.dumping.bean.Dumpling_DumplingUserListBean;
import com.sinoglobal.dumping.bean.Dumpling_LogIn_BaseVo;
import com.sinoglobal.dumping.bean.Dumpling_LogOutAcquireDumplingBean;
import com.sinoglobal.dumping.bean.Dumpling_LogOutGetMoneyBean;
import com.sinoglobal.dumping.bean.Dumpling_LogOutMaxDumplingCountBean;
import com.sinoglobal.dumping.bean.Dumpling_NewCardVo;
import com.sinoglobal.dumping.bean.Dumpling_PassportVo;
import com.sinoglobal.dumping.bean.Dumpling_ReceivedCardVo;
import com.sinoglobal.dumping.bean.Dumpling_ShareInfo;
import com.sinoglobal.dumping.bean.Dumpling_ShowCardInfoVo;
import com.sinoglobal.dumping.bean.Dumpling_TimeAction;
import com.sinoglobal.dumping.bean.myDumpling.Dumpling_CashDumplingDetailBean;
import com.sinoglobal.dumping.bean.myDumpling.Dumpling_MyCashDumplingBean;
import com.sinoglobal.dumping.bean.myDumpling.Dumpling_MyDumplingBean;

import java.util.ArrayList;

/**
 * Created by KeZhuang on 2015/10/29.
 */
public interface Dumpling_IRemote {
	
	/**
	 * @param userId
	 * @param dumplingUserPutmoneytid
	 * @param page
	 * @param pageNum
	 * @return
	 */
	Dumpling_CashDumplingDetailBean queryCashdumplingDetail(String userId, String dumplingUserPutmoneytid , int page,int pageNum) throws Exception ;
	/**
	 * 查询我的 现金饺子信息
	 *
	 * @param userId 用户ID
	 * @return
	 */
	Dumpling_MyCashDumplingBean queryMyCashdumpling(String userId , int page, int pageNum) throws Exception ;
	/**
	 * 查询我的饺子信息
	 *
	 * @param userId 用户ID
	 * @return
	 */
	Dumpling_MyDumplingBean queryMydumpling(String userId) throws Exception ;

    /**
     * 查询饺子总数
     *
     * @throws Exception
     */
    Dumpling_DumplingNumberBean queryDumplingNum() throws Exception;

    /**
     * 查询中奖列表
     *
     * @throws Exception
     */
    Dumpling_DumplingUserListBean queryDumplingUserList() throws Exception;

    /**
     * 查询未登录的捞饺子次数
     *
     * @throws Exception
     */
    Dumpling_LogOutMaxDumplingCountBean queryLogoutCount() throws Exception;

    /**
     * 未登录捞饺子
     *
     * @throws Exception
     */
    Dumpling_LogOutAcquireDumplingBean logoutStart() throws Exception;

    /**
     * 增加捞饺子机会
     *
     * @throws Exception
     */
    Dumpling_BaseVo addAcquireDumplingNum(String userId, Context context, int num) throws Exception;

    /**
     * 未登录领取饺子
     *
     * @throws Exception
     */
    Dumpling_LogOutGetMoneyBean logoutGetMoney(String prizeidList) throws Exception;


    /**
     * 登录用户捞饺子
     *
     * @throws Exception
     */
    Dumpling_LogOutAcquireDumplingBean loginUserDumpling() throws Exception;

    /**
     * 标记分享1次
     *
     * @throws Exception
     */
    Dumpling_BaseVo markShareNum(String userId) throws Exception;

    /**
     * 获取分享内容
     *
     * @throws Exception
     */
    Dumpling_ShareInfo getShareInfo(String temp_id, String picurl, String starName, String prizeMoney, String allMoney) throws Exception;


    /**
     * 快速登录-账号说明
     */
    Dumpling_PassportVo sinoPassportData(String type) throws Exception;


    /**
     * 快速登录-获取验证码
     */
    Dumpling_LogIn_BaseVo NoPasswordLoginCode(String username) throws Exception;

    /**
     * 快速登录-登录
     */
    Dumpling_LogIn_BaseVo NoPasswordLogin(String username, String vcode, String proIden) throws Exception;

    /**
     * 2001 用户包饺子生成小锅钱包订单（去支付时调用）
     */
    Dumpling_DumpingMakeOrderVo DumplingMakeOrder(String dumplingMoney, String dumplingNum, String content) throws Exception;

    /**
     * 2002 选择支付方式后支付
     */
    Dumpling_DumplingPayVo DumplingMakePayEncrption(String pannikinId, String password, String goodName, String goodDepice, String payChannel, String id, String key) throws Exception;

    /**
     * 2003 用户包饺子后查询支付状态-第三方支付（获取分享链接）
     */
    Dumpling_DumplingPaySuccessVo DumplingPaySuccess(String pannikinId) throws Exception;

    /**
     * 分享后修改小锅状态
     *
     * @throws Exception
     */
    Dumpling_BaseVo changeStatus(String pannikinId) throws Exception;


     /**
     * 获取春晚活动时间轴
     */
    Dumpling_TimeAction getTimeAxis() throws Exception;
    /** 获取广告 */
    Dumpling_AdvertisingBean getAdverty() throws Exception;

    /** 上传发贺卡图片并获取url */
    Dumpling_NewCardVo newCard(String photoUrl,String congratulation,String sendType) throws Exception;

    /** 上传贺卡日志 */
    Dumpling_BaseVo saveCard(String photoUrl,String congratulation,String sendType) throws Exception;

    /** 显示贺卡信息 */
    Dumpling_ShowCardInfoVo showCard(String dumpling_user_put_card_id) throws Exception;

    /** 记录领取贺卡 */
    Dumpling_BaseVo loginCardDumpling(String cardId) throws Exception;

    /** 获取贺卡祝福语 */
    ArrayList<String> getBlessing() throws Exception;

    /** 我的贺卡列表 */
    ArrayList<Dumpling_ReceivedCardVo> myCard(int page) throws Exception;

    /** 我包贺卡列表 */
    ArrayList<Dumpling_CardVo> putCardPage(int page) throws Exception;

}



